﻿using System.ComponentModel;

namespace Marmat.Forms.Views
{
    namespace DataGrid
    {
        public class DataGridCancelEventArgs : CancelEventArgs
        {
            internal DataGridCancelEventArgs()
            {
            }

            /// <summary>
            /// 返回正在保存的数据表。
            /// </summary>
            /// <value></value>
            /// <returns></returns>
            /// <remarks></remarks>
            public Forms.DataGrid GridControl
            {
                get
                {
                    return this._GridControl;
                }
            }

            internal Forms.DataGrid _GridControl;

            // ''' <summary>
            // ''' 逻辑型，设为True，取消正在进行的保存。
            // ''' </summary>
            // ''' <value></value>
            // ''' <returns></returns>
            // ''' <remarks></remarks>
            // Public Property Cancel As Boolean
            // Get
            // Return Me._Cancel
            // End Get
            // Set(value As Boolean)
            // Me._Cancel = value
            // End Set
            // End Property
            // Friend _Cancel As Boolean = False
        }
    }
}